# 判断前端是否缺少必要参数
def hasNone(*args):
    for i in args:
        if i is None:
            return True, "缺少必要参数"

    return False, ""
